from os.path import exists as ose
from os.path import join as osj
from os.path import basename as osb
from os.path import splitext as oss
from os.path import dirname as osd
from os.path import abspath as osa

def get_cur_dir(file):
    return osd( osa(file) )